package com.mininglamp.main;

/**
 * Created by zhouhuiyu on 17/9/5.
 */
public class TestThread implements Runnable {

    StaticUtil util;

    public TestThread(StaticUtil util){
        this.util = util;
    }

    public void run() {

        while (true){

            this.util.done();

            try {
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }

        }

    }
}
